package one.bugu.zookeeper.rpc.framework.service;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Created with IntelliJ IDEA.
 * User: LangK
 * Created Date 2019/2/11
 * Time: 16:40
 * Description: RPC服务端配置
 */
@Configuration
@ConfigurationProperties("socket.config")
public class RpcServiceConfiguration {

    /**
     * 默认的服务监听端口
     */
    private String port;

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }
}
